package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DictCalculationFormulaDao;
import io.renren.entity.DictCalculationFormulaEntity;
import io.renren.service.DictCalculationFormulaService;



@Service("dictCalculationFormulaService")
public class DictCalculationFormulaServiceImpl implements DictCalculationFormulaService {
	@Autowired
	private DictCalculationFormulaDao dictCalculationFormulaDao;
	
	@Override
	public DictCalculationFormulaEntity queryObject(String id){
		return dictCalculationFormulaDao.queryObject(id);
	}
	
	@Override
	public List<DictCalculationFormulaEntity> queryList(Map<String, Object> map){
		return dictCalculationFormulaDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dictCalculationFormulaDao.queryTotal(map);
	}
	
	@Override
	public void save(DictCalculationFormulaEntity dictCalculationFormula){
		dictCalculationFormulaDao.save(dictCalculationFormula);
	}
	
	@Override
	public void update(DictCalculationFormulaEntity dictCalculationFormula){
		dictCalculationFormulaDao.update(dictCalculationFormula);
	}
	
	@Override
	public void delete(String id){
		dictCalculationFormulaDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dictCalculationFormulaDao.deleteBatch(ids);
	}
	
}
